<?PHP 
$dictionary['User']['fields']['editor_code']=array ( 
	'name' => 'editor_code', 
	'vname' => 'LBL_EDITOR_CODE', 
	'type' => 'varchar', 
 // 'required' => false, 
 // 'reportable' => false, 
//	'len' => 50, 
//	'fields' => array (
//		0 => 'banking_country',
//		1 => 'editor_number',
//	),
//	'sort_on' => 'editor_number',
	'source' => 'non-db',
//	'db_concat_fields' => array (
//		0 => 'banking_country',
//		1 => 'editor_number',
//	),
); 

$dictionary['User']['fields']['employee_status']['default'] = 'Prospective';

$dictionary['User']['fields']['fish_test'] = array(
            'name' => 'fish_test',
            'vname' => 'LBL_FISH_TEST',
            'type' => 'enum',
            'len' => '25',
            'options' => 'fish_test_dom',
        );

$dictionary['User']['fields']['edanz_start_date'] = array (
	'name' => 'edanz_start_date',
	'vname' => 'LBL_EDANZ_START_DATE',
	'type' => 'date',
	'audited' => true,

);

$dictionary['User']['fields']['academic_field'] = array (
            'name' => 'academic_field',
            'vname' => 'LBL_ACADEMIC_FIELD',
            'type' => 'varchar',
            'len' => '255',
        );

$dictionary['User']['fields']['salutation'] = array (
                        'name' => 'salutation',
                        'vname' => 'LBL_SALUTATION',
                        'type' => 'enum',
                        'options' => 'salutation_dom',
                        'massupdate' => false,
                        'len' => '5',
                        'comment' => 'Contact salutation (e.g., Mr, Ms)'
                );

$dictionary['User']['fields']['bank_name'] = array (
            'name' => 'bank_name',
            'vname' => 'LBL_BANK_NAME',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['branch_name'] = array (
            'name' => 'branch_name',
            'vname' => 'LBL_BRANCH_NAME',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['bank_account_name'] = array (
            'name' => 'bank_account_name',
            'vname' => 'LBL_BANK_ACCOUNT_NAME',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['bank_account_number'] = array (
            'name' => 'bank_account_number',
            'vname' => 'LBL_BANK_ACCOUNT_NUMBER',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['branch_code'] = array (
            'name' => 'branch_code',
            'vname' => 'LBL_BRANCH_CODE',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['iban_number'] = array (
            'name' => 'iban_number',
            'vname' => 'LBL_IBAN_NUMBER',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['swift_code'] = array (
            'name' => 'swift_code',
            'vname' => 'LBL_SWIFT_CODE',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['branch_address'] = array (
            'name' => 'branch_address',
            'vname' => 'LBL_BRANCH_ADDRESS',
            'type' => 'text',
        );

$dictionary['User']['fields']['branch_city'] = array (
            'name' => 'branch_city',
            'vname' => 'LBL_BRANCH_CITY',
            'type' => 'varchar',
		'len' => '100',
        );

$dictionary['User']['fields']['branch_state'] = array (
            'name' => 'branch_state',
            'vname' => 'LBL_BRANCH_STATE',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['branch_postalcode'] = array (
            'name' => 'branch_postalcode',
            'vname' => 'LBL_BRANCH_POSTALCODE',
            'type' => 'varchar',
            'len' => '100',
        );

/*$dictionary['User']['fields']['branch_country'] = array (
            'name' => 'branch_country',
            'vname' => 'LBL_BRANCH_COUNTRY',
            'type' => 'varchar',
            'len' => '100',
        );
*/
$dictionary['User']['fields']['banking_country'] = array(
            'name' => 'banking_country',
            'vname' => 'LBL_BANKING_COUNTRY',
            'type' => 'enum',
            'len' => '100',
            'options' => 'banking_countries_dom',
        );

$dictionary['User']['fields']['banking_currency'] = array(
            'name' => 'banking_currency',
            'vname' => 'LBL_BANKING_CURRENCY',
            'type' => 'enum',
            'len' => '100',
            'options' => 'currency_dom',
        );

$dictionary['User']['fields']['bank_info_note'] = array (
            'name' => 'bank_info_note',
            'vname' => 'LBL_BANK_INFO_NOTE',
            'type' => 'text',
        );

$dictionary['User']['fields']['intermediary_bank_name'] = array (
            'name' => 'intermediary_bank_name',
            'vname' => 'LBL_INTERMEDIARY_BANK_NAME',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['intermediary_bank_account_number'] = array (
            'name' => 'intermediary_bank_account_number',
            'vname' => 'LBL_INTERMEDIARY_BANK_ACCOUNT_NUMBER',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['intermediary_bank_account_name'] = array (
            'name' => 'intermediary_bank_account_name',
            'vname' => 'LBL_INTERMEDIARY_BANK_ACCOUNT_NAME',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['intermediary_bank_swift_code'] = array (
            'name' => 'intermediary_bank_swift_code',
            'vname' => 'LBL_INTERMEDIARY_BANK_SWIFT_CODE',
            'type' => 'varchar',
            'len' => '100',
        );

$dictionary['User']['fields']['intermediary_bank_info_note'] = array (
            'name' => 'intermediary_bank_info_note',
            'vname' => 'LBL_INTERMEDIARY_BANK_INFO_NOTE',
            'type' => 'text',
        );

$dictionary['User']['fields']['gender'] = array(
            'name' => 'gender',
            'vname' => 'LBL_GENDER',
            'type' => 'enum',
            'len' => '10',
            'options' => 'gender_dom',
        );

$dictionary['User']['fields']['native_language'] = array(
            'name' => 'native_language',
            'vname' => 'LBL_NATIVE_LANGUAGE',
            'type' => 'enum',
            'len' => '10',
            'options' => 'language_dom',
		'default' => 'English',
        );

$dictionary['User']['fields']['credentialed_for_editing'] = array (
        'massupdate' => true,
        'name' => 'credentialed_for_editing',
        'vname' => 'LBL_CREDENTIALED_FOR_EDITING',
        'type' => 'bool',
        'comment' => 'Can this editor be assigned editing work?',
      );

$dictionary['User']['fields']['credentialed_for_writing'] = array (
        'massupdate' => true,
        'name' => 'credentialed_for_writing',
        'vname' => 'LBL_CREDENTIALED_FOR_WRITING',
        'type' => 'bool',
        'comment' => 'Can this editor be assigned writing work?',
      );

$dictionary['User']['fields']['credentialed_for_review'] = array (
        'massupdate' => true,
        'name' => 'credentialed_for_review',
        'vname' => 'LBL_CREDENTIALED_FOR_REVIEW',
        'type' => 'bool',
        'comment' => 'Can this editor be assigned expert review work?',
      );


$dictionary['User']['fields']['credentialed_for_other_focus_services'] = array (
        'massupdate' => true,
        'name' => 'credentialed_for_other_focus_services',
        'vname' => 'LBL_CREDENTIALED_FOR_OTHER_FOCUS_SERVICES',
        'type' => 'bool',
       	'comment' => 'Can this editor be assigned focus service work?',
      );

$dictionary['User']['fields']['specialisations'] = array (
            'name' => 'specialisations',
            'vname' => 'LBL_SPECIALISATIONS',
            'type' => 'text',
        );
$dictionary['User']['fields']['editor_number'] = array (
	'name' => 'editor_number',
	'vname' => 'LBL_EDITOR_NUMBER',
	'type' => 'int',
	'len' => 11,
	'required' => true,
	'auto_increment' => true,
	'unified_search' => true,
	'comment' => 'Visual unique identifier',
	'duplicate_merge' => 'disabled',
	'disable_num_format' => true,
	);

$dictionary['User']['fields']['website'] = array (
    'name' => 'website',
    'vname' => 'LBL_WEBSITE',
    'type' => 'url',
    'dbType' => 'varchar',
    'len' => 255,
);

$dictionary['User']['fields']['published_photo'] = array (
	'required' => false,
	'name' => 'published_photo',
	'vname' => 'LBL_PUBLISHED_PHOTO',
	'type' => 'photo',
	'massupdate' => '0',
	'audited' => false,
	'len' => '255',
	'size' => '20',
	'ext2' => '1',
	'ext3' => '106',
	'ext4' => NULL,
	'dbType' => 'varchar',
);

$dictionary['User']['indices']['editor_number'] = array (
	'name' => 'editor_number_unique',
	'type' => 'unique',
	'fields' => array ('editor_number'),
);



VardefManager::createVardef('Users','User', array('assignable'));
?>
